package cate.game.role.bag.furniture.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBBag;
import cate.game.role.Role;
import cate.game.role.bag.furniture.FurnitureBag;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "手办 初始化数据 の 返回")
public class FurnitureInitResp implements MsgOutput {

    @NoteField(value = "主角 [ 手办 ] 背包数据")
    public FurnitureBag data;

    public FurnitureInitResp(){

    }

    public FurnitureInitResp(Role role) {
        this.data = role.getBag().furniture;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBBag.FURNITURE_INIT_RESP;
    }
}
